import {ALESSONDATA} from './actionType'
const defaultState ={
    list:[]
}

const reducer = (state=defaultState,action)=>{
    switch(action.type){
        case ALESSONDATA:
            return{
                list:action.list
            }
        default:
            return state
    }
}
export default reducer